package com.zhou.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * @Description : 积分明细表
 * @Author : zyy
 * @Date: 2024/6/21  11:25
 */
@Data
@Schema(name = "积分明细表", description = "积分明细表实体类")
public class IntegralDetail {

    @Schema(name = "积分明细id", type = "string")
    @TableId("integral_detail_id")
    @ExcelProperty("积分明细id")
    private String integralDetailId;

    @Schema(name = "积分操作明细", type = "string")
    @TableField("detail")
    @ExcelProperty("积分操作明细")
    private String detail;

    @Schema(name = "积分操作时间", type = "date")
    @TableField("create_time")
    @ExcelProperty("积分操作时间")
    private Date createTime;

    @Schema(name = "积分id", type = "string")
    @TableField("integral_id")
    @ExcelProperty("积分id")
    private String integralId;

    @Schema(name = "操作内容", type = "string")
    @TableField("detail_content")
    @ExcelProperty("操作内容")
    private String detailContent;
}
